package com.yanqu.road.entity.systemgroup.newmonopolymarket;

import com.yanqu.road.entity.monopolymarket.group.IMonopolyMarketGroup;
import com.yanqu.road.entity.systemgroup.common.SystemServerGroupWeekData;

import java.util.List;

public class NewMonopolyMarketGroup implements IMonopolyMarketGroup {

    NewMonopolyMarketWeekStateData weekData;

    public NewMonopolyMarketGroup(NewMonopolyMarketWeekStateData groupWeekData) {
        this.weekData = groupWeekData;
    }

    @Override
    public long getMonopolyMarketGroupId() {
        return weekData.getSystemGroupId();
    }

    @Override
    public List<Long> getMonopolyMarketServerList() {
        return weekData.getServerIdList();
    }

    @Override
    public int getMonopolyMarketChangeTime() {
        return weekData.getWeekId() * 1000;
    }

    @Override
    public int getMonopolyMarketFortressState() {
        return 0;
    }
}
